package com.cta.constant;

import org.apache.commons.lang.StringUtils;

public enum ProfileUserMapping {

	def_start_date("Start call date"), def_start_time("Start call time"), def_duration("Duration of call"), def_author_code(
			"Employee code"), def_dialed_number("Dialed number"), def_calling_number("Calling number"), def_trunk_no(
			"Trunk No");

	String description;

	ProfileUserMapping(String des) {
		this.description = des;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public static ProfileUserMapping valOf(String val) {
		if (StringUtils.isNotEmpty(val)) {
			return ProfileUserMapping.valueOf(val);
		}
		return null;
	}

}
